import requests

url = "https://search.damai.cn/se222archajax.html?keyword=%E9%99%88%E5%A5%95%E8%BF%85&cty=&ctl=&sctl=&tsg=0&st=&et=&order=0&pageSize=30&currPage=1&tn="

payload = {}
headers = {
  'authority': 'search.damai.cn',
  'sec-ch-ua': '" Not;A Brand";v="99", "Google Chrome";v="91", "Chromium";v="91"',
  'accept': 'application/json, text/plain, */*',
  'x-xsrf-token': '3c8263b6-fc75-4e72-b054-df1b35ccf86e',
  'sec-ch-ua-mobile': '?0',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36',
  'sec-fetch-site': 'same-origin',
  'sec-fetch-mode': 'cors',
  'sec-fetch-dest': 'empty',
  'referer': 'https://search.damai.cn/search.html?keyword=%E9%99%88%E5%A5%95%E8%BF%85&spm=a2oeg.home.searchtxt.dsearchbtn',
  'accept-language': 'zh-CN,zh;q=0.9',
  'cookie': 't=081cfea8ee6156a2a2c331d567b5c754; cna=hcEZHiuuWSwBASQIglbp/cHL; l=fBICVM0cPppIbrgiBO5alurza7790IOfCsPzaNbMiIEGa1RPtF_V4NCO3WSBSdtjgT1XNetrFQx-eRpwY3fd9xDDBXGvF3-rnxmXZeVh.; xlly_s=1; _samesite_flag_=true; cookie2=1fd37021806d8d11418a1fb6b8b1fc29; _tb_token_=e3b9d55fe3d71; _hvn_login=18; sgcookie=E100ve6wtfhNC0FnhkMYRA5Sqr3KxL%2FKPtI%2Fky3rvmBabCOjgpQJahWjrTcvzbX5a8Fs8jtwRllXF3SJ5HGZB12OMwGC8wgTDP2HkDhORv5tCHQ%3D; munb=2200608452612; csg=ce83fdf6; damai.cn_nickName=%E6%9C%B1%E6%B5%B7%E8%BE%896; damai.cn_user=hjELn/S97GN8b0OfD8VMl/qquKuOpAVHsZnk/hEht+qq0wK0ZnK4bMXfHdStZaaSGxb2+Rjuqig=; damai.cn_user_new=hjELn%2FS97GN8b0OfD8VMl%2FqquKuOpAVHsZnk%2FhEht%2Bqq0wK0ZnK4bMXfHdStZaaSGxb2%2BRjuqig%3D; h5token=90954ed4cd604466a61b6a879a382169_1_1; damai_cn_user=hjELn%2FS97GN8b0OfD8VMl%2FqquKuOpAVHsZnk%2FhEht%2Bqq0wK0ZnK4bMXfHdStZaaSGxb2%2BRjuqig%3D; loginkey=90954ed4cd604466a61b6a879a382169_1_1; user_id=120114188; _m_h5_tk=826c2bb429119808685d68e2de4a1d16_1717304016597; _m_h5_tk_enc=c91911b5f9acfb6c22238bbd29200e78; XSRF-TOKEN=3c8263b6-fc75-4e72-b054-df1b35ccf86e; isg=BCgohqba2pDLtPXdQc6PDCVY-RY6UYxbBmez3OJZs6O2PcmnhmPk65w-NdXNCEQz; tfstk=fEZMyIAqSPu1wfJAskm1YUdzjZQKfCijrSKxMmhV8XlB6CKT3xm09S2tu1wYtdZ3ZnKO1Nw2mmnVw_IR2R9scmf-o4R9BFMoIESx_j86uc45w_IRvNJEm1f8kCMIX2DjTAlq0FWn8YMS0Fo4gXuEUYdZ0mP4L9DqnI-ZgjoEYYDoZ__Z1orUYTKC8R1I9OEEIVcDDjxm2k--7bWITnxmTv3M-RlH0nr3Ropq7f7Wpjit1RDgGgtsbq44XDrNTiozPWqmz0bAC023Jz3g-1-m9lhEPlPGsFGaWW0SL2JcVvF-TRZa-tOUQ7hibvud4T2Ezf3uy2ApRJmZF4Ei8KYZXze8c4rNjQGKPxVnyPfkj7Szce8re6-XHaFwlEgZdvcWr0GyzKjxgfXhKUWj7vMsw9XHlEgZdvcRK9YP5VkICbC..'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)
